
public class MyDateTest {
public static void main(String[] args) {
	MyDate md=new MyDate(2004,1,1);
	System.out.println(md.getDayOfWeek(2016, 12, 31));
	System.out.println(md.toString());
	System.out.println(md.previousDay());
}
}
